package com.drought.rained.ui.activity.mine;

import android.annotation.SuppressLint;
import android.widget.TextView;

import com.alibaba.android.arouter.facade.annotation.Route;
import com.drought.rained.R;
import com.drought.rained.base.BaseTitleActivity;
import com.drought.rained.business.RouterMapLJ;

@Route(name = "风险提醒", path = RouterMapLJ.GRANTPERMISSION_PAGE)
public class GrantPermissionActivityLJ extends BaseTitleActivity {

    private TextView tv_content;

    @SuppressLint("SetTextI18n")
    @Override
    protected void onUIReady() {
        tv_content.setText(getStringResource(R.string.privacy_agreement_content));
    }

    @Override
    protected void initViews() {
        tv_content = findViewById(R.id.tv_content);
    }

    @Override
    protected int getContentResId() {
        return R.layout.layout_of_grant_permission;
    }

    @Override
    public String getPageTitle() {
        return getStringResource(R.string.privacy_agreement_title);
    }
}
